package edu.washington.vaccine.backend;

/*
 * 
 * Vaccine class, holds necessary data
 * pertaining to a single unique vaccine type
 */

public class Vaccine implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	public int id;
	public String name;
//	public int dose;
	public String desc;
	public String schedule;
	
//	public Vaccine(String name) {
//		this.name = name;
//		this.id = 1;
//	}
	
	public Vaccine(int id, String name, String desc, String schedule) {
		this.id = id;
		this.name = name;
//		this.dose = dose;
		this.desc = desc;
		this.schedule = schedule;
	}
   
	public String toString() {
		return name;
	}
	
}